package com.wishu.finance.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wishu.finance.domain.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author 25813
 * @description 针对表【t_jr_rent_installment(房租分期申请)】的数据库操作Service
 * @createDate 2023-04-28 19:16:34
 */
public interface TJrRentInstallmentService extends IService<TJrRentInstallment> {
    IPage<JrRentInstallmentResponseDto> selectPageVo(IPage<?> page, JrRentInstallmentSearch jrRentInstallmentSearch);

    JrRentInstallmentDetailsResponseDto selectInstallmentDetails(Long id);

    ContractDetailsResponseDTO getContract(Integer contractId);

    List<ProductResponseDTO> listProduct();

    boolean checkProduct(CheckProductRequestBeanDTO dto);

    SearchRentInstallmentDetailResponseDTO getRentInstallmentDetail(SearchRentInstallmentDetailRequestDTO dto);

    void saveRentInstallment(SaveRentInstallmentRequestDTO dto);
}
